package com.x.provider.api.oss.model.dto.map;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(fluent = true)
public class DistrictDTO {
    private String id;
    private String name;
    private Integer level;
    private String fullname;
    private String pinyin;
    @JsonProperty("TestED")
    private String TestED;

    private List<DistrictDTO> districts;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Location{
        private Double lat;
        private Double lng;
    }
}
